package com.aidong.myprofile.biz.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.aidong.myprofile.biz.MyCharmPartBiz;
import com.aidong.myprofile.dao.MyCharmPartDao;

@Service("charmPartBiz")
public class MyCharmPartBizImpl implements MyCharmPartBiz {
	
	private MyCharmPartDao charmPartDao;

	@Autowired
	public void setCharmPartDao(MyCharmPartDao charmPartDao) {
		this.charmPartDao = charmPartDao;
	}

	/**
	 * 修改我的魅力部位标签
	 * @param idongId
	 */
	@Override
	public void editMyCharmPart(int idongId,List<Map<String, Object>> map) {
		charmPartDao.delMyCharmPart(idongId);
		charmPartDao.addMyCharmPart(map);
	}

}
